
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>规范 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-katex/katex.min.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-emphasize/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-codeblock-label/block.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-click-reveal/click_reveal.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-expandable-chapters-interactive/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../../styles/website.css">
        
    
        
    
        
    
        
    
        
    
        
    


    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../../REFERENCE.html" />
    
    
    <link rel="prev" href="summary.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    实验简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../log.html">
            
                <a href="../log.html">
            
                    
                    更新日志
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">零：前置准备</li>
        
        
    
        <li class="chapter " data-level="2.1" >
            
                <span>
            
                    
                    配环境、跑测试
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../lab0/env.html">
            
                <a href="../lab0/env.html">
            
                    
                    环境配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../lab0/testing.html">
            
                <a href="../lab0/testing.html">
            
                    
                    运行测试样例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="../lab0/riscv.html">
            
                <a href="../lab0/riscv.html">
            
                    
                    RISC-V 的工具链使用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">第一个编译器</li>
        
        
    
        <li class="chapter " data-level="3.1" >
            
                <span>
            
                    
                    step1：仅一个 return 的 main 函数
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="../lab1/part1.html">
            
                <a href="../lab1/part1.html">
            
                    
                    从零开始的 lexer、parser 以及汇编生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="../lab1/part2.html">
            
                <a href="../lab1/part2.html">
            
                    
                    词法语法分析工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="../lab1/part3.html">
            
                <a href="../lab1/part3.html">
            
                    
                    使用中间码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.4.1" data-path="../lab1/antlr.html">
            
                <a href="../lab1/antlr.html">
            
                    
                    ANTLR 使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4.2" data-path="../lab1/visitor.html">
            
                <a href="../lab1/visitor.html">
            
                    
                    Visitor 模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4.3" data-path="../lab1/ir.html">
            
                <a href="../lab1/ir.html">
            
                    
                    IR 简明介绍
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.1.5" data-path="../lab1/spec.html">
            
                <a href="../lab1/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">常量表达式</li>
        
        
    
        <li class="chapter " data-level="4.1" >
            
                <span>
            
                    
                    step2：一元操作
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1.1" data-path="../lab2/intro.html">
            
                <a href="../lab2/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.2" data-path="../lab2/guide.html">
            
                <a href="../lab2/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.3" data-path="../lab2/spec.html">
            
                <a href="../lab2/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.2" >
            
                <span>
            
                    
                    step3：加减乘除模
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.2.1" data-path="../lab3/intro.html">
            
                <a href="../lab3/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.2" data-path="../lab3/guide.html">
            
                <a href="../lab3/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.3" data-path="../lab3/spec.html">
            
                <a href="../lab3/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.3" >
            
                <span>
            
                    
                    step4：比较和逻辑表达式
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.3.1" data-path="../lab4/intro.html">
            
                <a href="../lab4/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3.2" data-path="../lab4/guide.html">
            
                <a href="../lab4/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3.3" data-path="../lab4/spec.html">
            
                <a href="../lab4/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">变量和语句</li>
        
        
    
        <li class="chapter " data-level="5.1" >
            
                <span>
            
                    
                    step5：局部变量和赋值
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1.1" data-path="../lab5/intro.html">
            
                <a href="../lab5/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.1.2" data-path="../lab5/guide.html">
            
                <a href="../lab5/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.1.3" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1.3.1" data-path="../lab5/stackframe.html">
            
                <a href="../lab5/stackframe.html">
            
                    
                    栈帧
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.1.4" data-path="../lab5/spec.html">
            
                <a href="../lab5/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.2" >
            
                <span>
            
                    
                    step6：if 语句和条件表达式
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.2.1" data-path="../lab6/intro.html">
            
                <a href="../lab6/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2.2" data-path="../lab6/guide.html">
            
                <a href="../lab6/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2.3" data-path="../lab6/spec.html">
            
                <a href="../lab6/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">块语句和作用域和更多语句</li>
        
        
    
        <li class="chapter " data-level="6.1" >
            
                <span>
            
                    
                    step7：作用域和块语句
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.1.1" data-path="../lab7/intro.html">
            
                <a href="../lab7/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.1.2" data-path="../lab7/guide.html">
            
                <a href="../lab7/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.1.3" data-path="../lab7/spec.html">
            
                <a href="../lab7/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.2" >
            
                <span>
            
                    
                    step8：循环语句
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.2.1" data-path="../lab8/intro.html">
            
                <a href="../lab8/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2.2" data-path="../lab8/guide.html">
            
                <a href="../lab8/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2.3" data-path="../lab8/spec.html">
            
                <a href="../lab8/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">函数和全局变量</li>
        
        
    
        <li class="chapter " data-level="7.1" >
            
                <span>
            
                    
                    step9：函数
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="7.1.1" data-path="../lab9/intro.html">
            
                <a href="../lab9/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.1.2" data-path="../lab9/guide.html">
            
                <a href="../lab9/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.1.3" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="7.1.3.1" data-path="../lab9/calling.html">
            
                <a href="../lab9/calling.html">
            
                    
                    函数调用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="7.1.4" data-path="../lab9/spec.html">
            
                <a href="../lab9/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="7.2" >
            
                <span>
            
                    
                    step10：全局变量
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="7.2.1" data-path="../lab10/part0-intro.html">
            
                <a href="../lab10/part0-intro.html">
            
                    
                    摘要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.2" data-path="../lab10/part1-parser.html">
            
                <a href="../lab10/part1-parser.html">
            
                    
                    词法语法分析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.3" data-path="../lab10/part1-1-task.html">
            
                <a href="../lab10/part1-1-task.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.4" data-path="../lab10/part4-codegen.html">
            
                <a href="../lab10/part4-codegen.html">
            
                    
                    代码生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.5" data-path="../lab10/part4-1-task.html">
            
                <a href="../lab10/part4-1-task.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.6" data-path="../lab10/summary.html">
            
                <a href="../lab10/summary.html">
            
                    
                    小结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.7" data-path="../lab10/spec.html">
            
                <a href="../lab10/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">指针和数组</li>
        
        
    
        <li class="chapter " data-level="8.1" >
            
                <span>
            
                    
                    step11：指针
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="8.1.1" data-path="../lab11/part0-intro.html">
            
                <a href="../lab11/part0-intro.html">
            
                    
                    摘要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.2" data-path="../lab11/typeck.html">
            
                <a href="../lab11/typeck.html">
            
                    
                    类型检查
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.3" data-path="../lab11/part4-codegen.html">
            
                <a href="../lab11/part4-codegen.html">
            
                    
                    代码生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.4" data-path="../lab11/part4-1-task.html">
            
                <a href="../lab11/part4-1-task.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.5" data-path="../lab11/summary.html">
            
                <a href="../lab11/summary.html">
            
                    
                    小结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.6" data-path="../lab11/spec.html">
            
                <a href="../lab11/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="8.2" >
            
                <span>
            
                    
                    step12：数组
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="8.2.1" data-path="part0-intro.html">
            
                <a href="part0-intro.html">
            
                    
                    摘要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.2.2" data-path="part4-codegen.html">
            
                <a href="part4-codegen.html">
            
                    
                    代码生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.2.3" data-path="part4-1-task.html">
            
                <a href="part4-1-task.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.2.4" data-path="summary.html">
            
                <a href="summary.html">
            
                    
                    小结
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="8.2.5" data-path="spec.html">
            
                <a href="spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">参考资料</li>
        
        
    
        <li class="chapter " data-level="9.1" data-path="../../REFERENCE.html">
            
                <a href="../../REFERENCE.html">
            
                    
                    参考资料
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >规范</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x89C4;&#x8303;">&#x89C4;&#x8303;</h1>
<p>&#x6BCF;&#x4E2A;&#x6B65;&#x9AA4;&#x7ED3;&#x5C3E;&#x7684; <strong>&#x89C4;&#x8303;</strong> &#x4E00;&#x8282;&#x90FD;&#x4F1A;&#x5BF9;&#x8FD9;&#x4E2A;&#x6B65;&#x9AA4;&#x4E2D;&#x7684;&#x65B0;&#x7279;&#x6027;&#x7ED9;&#x51FA;&#x89C4;&#x8303;&#xFF0C;&#x65B9;&#x4FBF;&#x5927;&#x5BB6;&#x67E5;&#x9605;&#x3002;</p>
<h1 id="step12-&#x8BED;&#x6CD5;&#x89C4;&#x8303;">step12 &#x8BED;&#x6CD5;&#x89C4;&#x8303;</h1>
<p>&#x7070;&#x8272;&#x90E8;&#x5206;&#x8868;&#x793A;&#x76F8;&#x5BF9;&#x4E0A;&#x4E00;&#x8282;&#x7684;&#x4FEE;&#x6539;&#x3002;</p>
<pre id="vimCodeElement">
<code></code>
<span class="SpecRuleStart">program</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecOperator">(</span><span class="SpecRule">function</span> <span class="SpecOperator">|</span> <span class="SpecRule">declaration</span><span class="SpecOperator">)*</span>

<span class="SpecRuleStart">function</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">type</span> <span class="SpecToken">Identifier</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">parameter_list</span> <span class="SpecToken">&apos;)&apos;</span> <span class="SpecOperator">(</span><span class="SpecRule">compound_statement</span> <span class="SpecOperator">|</span> <span class="SpecToken">&apos;;&apos;</span><span class="SpecOperator">)</span>

<span class="SpecRuleStart">type</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecToken">&apos;int&apos;</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">type</span> <span class="SpecToken">&apos;*&apos;</span>

<span class="SpecRuleStart">parameter_list</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecOperator">(</span><span class="SpecRule">type</span> <span class="SpecToken">Identifier</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;,&apos;</span> <span class="SpecRule">type</span> <span class="SpecToken">Identifier</span><span class="SpecOperator">)*)?</span>

<span class="SpecRuleStart">compound_statement</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecToken">&apos;{&apos;</span> <span class="SpecRule">block_item</span><span class="SpecOperator">*</span> <span class="SpecToken">&apos;}&apos;</span>

<span class="SpecRuleStart">block_item</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">statement</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">declaration</span>

<span class="SpecRuleStart">statement</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecToken">&apos;return&apos;</span> <span class="SpecRule">expression</span> <span class="SpecToken">&apos;;&apos;</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">expression</span><span class="SpecOperator">?</span> <span class="SpecToken">&apos;;&apos;</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;if&apos;</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">expression</span> <span class="SpecToken">&apos;)&apos;</span> <span class="SpecRule">statement</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;else&apos;</span> <span class="SpecRule">statement</span><span class="SpecOperator">)?</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">compound_statement</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;for&apos;</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">expression</span><span class="SpecOperator">?</span> <span class="SpecToken">&apos;;&apos;</span> <span class="SpecRule">expression</span><span class="SpecOperator">?</span> <span class="SpecToken">&apos;;&apos;</span> <span class="SpecRule">expression</span><span class="SpecOperator">?</span> <span class="SpecToken">&apos;)&apos;</span> <span class="SpecRule">statement</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;for&apos;</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">declaration</span> <span class="SpecRule">expression</span><span class="SpecOperator">?</span> <span class="SpecToken">&apos;;&apos;</span> <span class="SpecRule">expression</span><span class="SpecOperator">?</span> <span class="SpecToken">&apos;)&apos;</span> <span class="SpecRule">statement</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;while&apos;</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">expression</span> <span class="SpecToken">&apos;)&apos;</span> <span class="SpecRule">statement</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;do&apos;</span> <span class="SpecRule">statement</span> <span class="SpecToken">&apos;while&apos;</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">expression</span> <span class="SpecToken">&apos;)&apos;</span> <span class="SpecToken">&apos;;&apos;</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;break&apos;</span> <span class="SpecToken">&apos;;&apos;</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;continue&apos;</span> <span class="SpecToken">&apos;;&apos;</span>

<span class="SpecRuleStart">declaration</span>
<div class="changed"><span class="SpecRuleIndicator">    :</span> <span class="SpecRule">type</span> <span class="SpecToken">Identifier</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;[&apos;</span> <span class="SpecToken">Integer</span> <span class="SpecToken">&apos;]&apos;</span><span class="SpecOperator">)*</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;=&apos;</span> <span class="SpecRule">expression</span><span class="SpecOperator">)?</span> <span class="SpecToken">&apos;;&apos;</span>
</div>
<span class="SpecRuleStart">expression_list</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecOperator">(</span><span class="SpecRule">expression</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;,&apos;</span> <span class="SpecRule">expression</span><span class="SpecOperator">)*)?</span>

<span class="SpecRuleStart">expression</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">assignment</span>

<span class="SpecRuleStart">assignment</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">conditional</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">unary</span> <span class="SpecToken">&apos;=&apos;</span> <span class="SpecRule">expression</span>

<span class="SpecRuleStart">conditional</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">logical_or</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">logical_or</span> <span class="SpecToken">&apos;?&apos;</span> <span class="SpecRule">expression</span> <span class="SpecToken">&apos;:&apos;</span> <span class="SpecRule">conditional</span>

<span class="SpecRuleStart">logical_or</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">logical_and</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">logical_or</span> <span class="SpecToken">&apos;||&apos;</span> <span class="SpecRule">logical_and</span>

<span class="SpecRuleStart">logical_and</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">equality</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">logical_and</span> <span class="SpecToken">&apos;&amp;&amp;&apos;</span> <span class="SpecRule">equality</span>

<span class="SpecRuleStart">equality</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">relational</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">equality</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;==&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;!=&apos;</span><span class="SpecOperator">)</span> <span class="SpecRule">relational</span>

<span class="SpecRuleStart">relational</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">additive</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">relational</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;&lt;&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;&gt;&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;&lt;=&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;&gt;=&apos;</span><span class="SpecOperator">)</span> <span class="SpecRule">additive</span>

<span class="SpecRuleStart">additive</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">multiplicative</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">additive</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;+&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;-&apos;</span><span class="SpecOperator">)</span> <span class="SpecRule">multiplicative</span>

<span class="SpecRuleStart">multiplicative</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">unary</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecRule">multiplicative</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;*&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;/&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;%&apos;</span><span class="SpecOperator">)</span> <span class="SpecRule">unary</span>

<span class="SpecRuleStart">unary</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">postfix</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecOperator">(</span><span class="SpecToken">&apos;-&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;~&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;!&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;&amp;&apos;</span><span class="SpecOperator">|</span><span class="SpecToken">&apos;*&apos;</span><span class="SpecOperator">)</span> <span class="SpecRule">unary</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">type</span> <span class="SpecToken">&apos;)&apos;</span> <span class="SpecRule">unary</span>

<span class="SpecRuleStart">postfix</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecRule">primary</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">Identifier</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">expression_list</span> <span class="SpecToken">&apos;)&apos;</span>
<div class="changed"><span class="SpecRuleIndicator">    |</span> <span class="SpecRule">postfix</span> <span class="SpecToken">&apos;[&apos;</span> <span class="SpecRule">expression</span> <span class="SpecToken">&apos;]&apos;</span>
</div>
<span class="SpecRuleStart">primary</span>
<span class="SpecRuleIndicator">    :</span> <span class="SpecToken">Integer</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">&apos;(&apos;</span> <span class="SpecRule">expression</span> <span class="SpecToken">&apos;)&apos;</span>
<span class="SpecRuleIndicator">    |</span> <span class="SpecToken">Identifier</span>
</pre>

<h1 id="step12-&#x8BED;&#x4E49;&#x89C4;&#x8303;">step12 &#x8BED;&#x4E49;&#x89C4;&#x8303;</h1>
<p><strong>12.1.</strong> &#x652F;&#x6301;&#x591A;&#x7EF4;&#x6570;&#x7EC4;&#xFF0C;&#x4F46;&#x6BCF;&#x4E00;&#x7EF4;&#x957F;&#x5EA6;&#x53EA;&#x80FD;&#x662F;&#x6B63;&#x6574;&#x6570;&#x5E38;&#x6570;&#xFF0C;&#x4E0D;&#x80FD;&#x662F;&#x96F6;&#x6216;&#x8D1F;&#x6570;&#x3002;</p>
<blockquote>
<p>&#x6240;&#x4EE5;&#x4E5F;&#x6CA1;&#x6709;&#x53D8;&#x957F;&#x6570;&#x7EC4; <code>int a[n];</code> &#x4E5F;&#x6CA1;&#x6709;&#x4E0D;&#x5B9A;&#x957F;&#x6570;&#x7EC4; <code>int a[];</code>&#x3002;</p>
</blockquote>
<p><strong>12.2.</strong> &#x5BF9;&#x6570;&#x7EC4;&#x53D6;&#x5730;&#x5740;&#x662F;&#x9519;&#x8BEF;&#xFF0C;&#x4E5F;&#x4E0D;&#x4F1A;&#x6709;&#x6307;&#x5411;&#x6570;&#x7EC4;&#x7684;&#x6307;&#x9488;&#x3002;</p>
<blockquote>
<p>&#x8FD9;&#x662F;&#x4E3A;&#x4E86;&#x7B80;&#x5316;&#x5B9E;&#x9A8C;&#xFF0C;&#x5426;&#x5219;&#x9700;&#x8981;&#x5F15;&#x5165; C &#x4E2D;&#x4E00;&#x5806;&#x7E41;&#x590D;&#x7684;&#x8BB0;&#x53F7;&#xFF0C;&#x50CF; <code>int *a[10]</code> &#x548C; <code>int (*a)[10]</code>&#xFF0C;&#x5BF9;&#x4E8E;&#x5B9E;&#x9A8C;&#x610F;&#x4E49;&#x4E0D;&#x5927;&#x3002;</p>
</blockquote>
<p><strong>12.3.</strong> &#x6570;&#x7EC4;&#x58F0;&#x660E;&#x4E0D;&#x80FD;&#x6709;&#x521D;&#x59CB;&#x503C;&#x3002;&#x5C40;&#x90E8;&#x53D8;&#x91CF;&#x6570;&#x7EC4;&#x521D;&#x59CB;&#x503C;&#x672A;&#x5B9A;&#xFF0C;&#x5168;&#x5C40;&#x53D8;&#x91CF;&#x521D;&#x59CB;&#x503C;&#x4E3A;&#x96F6;&#x3002;</p>
<blockquote>
<p>C &#x4E2D;&#x53EF;&#x4EE5;&#x5199; <code>int a[2]={1, 2}</code> &#x4F46; MiniDecaf &#x4E0D;&#x884C;&#x3002;</p>
</blockquote>
<p><strong>12.4.</strong> &#x6570;&#x7EC4;&#x9996;&#x5730;&#x5740;&#x5BF9;&#x9F50;&#x8981;&#x6C42;&#x540C;&#x5143;&#x7D20;&#x7684;&#x5BF9;&#x9F50;&#x8981;&#x6C42;&#xFF08;4 &#x5B57;&#x8282;&#xFF09;&#x3002;
    &#x6570;&#x7EC4;&#x7684;&#x5404;&#x4E2A;&#x5143;&#x7D20;&#x5728;&#x5185;&#x5B58;&#x4E2D;&#x662F;&#x8FDE;&#x7EED;&#x7684;&#xFF0C;&#x5E76;&#x4E14;&#x591A;&#x7EF4;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#x6392;&#x5728;&#x524D;&#x9762;&#x7684;&#x7EF4;&#x5EA6;&#x4F18;&#x5148;&#x3002;</p>
<blockquote>
<p>&#x4F8B;&#x5982; <code>int a[3][4][5]</code> &#x5360;&#x7528;&#x4E86; 60 &#x4E2A; int&#xFF08;240 &#x5B57;&#x8282;&#xFF09;&#x7684;&#x8FDE;&#x7EED;&#x5185;&#x5B58;&#xFF0C;&#x548C; <code>int b[60]</code> &#x4E00;&#x6837;&#x3002;
<code>a[1][2][3]</code> &#x7684;&#x504F;&#x79FB;&#x91CF;&#x662F; <code>(1*20+2*5+3) * 4</code> &#x5B57;&#x8282;&#xFF0C;&#x548C; <code>b[33]</code> &#x4E00;&#x6837;&#x3002;</p>
</blockquote>
<p><strong>12.5.</strong> &#x4E0B;&#x6807;&#x8FD0;&#x7B97;&#x4F18;&#x5148;&#x7EA7;&#x9AD8;&#x4E8E;&#x4E00;&#x5143;&#x8FD0;&#x7B97;&#x7B26;&#x3002;</p>
<blockquote>
<p>&#x56E0;&#x6B64; <code>-a[0]</code> &#x5373; <code>-(a[0])</code>&#x3002;</p>
</blockquote>
<p><strong>12.6.</strong> &#x4E0B;&#x6807;&#x8FD0;&#x7B97; <code>a[b]</code> &#x7684;&#x64CD;&#x4F5C;&#x6570;&#x7C7B;&#x578B;&#x5FC5;&#x987B;&#x662F;&#xFF1A;<code>a</code> &#x4E3A;&#x6307;&#x9488;&#x6216;&#x6570;&#x7EC4;&#xFF0C;<code>b</code> &#x4E3A; int&#x3002;</p>
<p><strong>12.7.</strong> &#x4E0B;&#x6807;&#x8FD0;&#x7B97;&#x8D8A;&#x754C;&#x662F;&#x672A;&#x5B9A;&#x4E49;&#x884C;&#x4E3A;&#x3002;</p>
<p><strong>12.8.</strong> &#x53EF;&#x4EE5;&#x5C06;&#x6570;&#x7EC4;&#x7684;&#x524D;&#x51E0;&#x7EF4;&#x5355;&#x72EC;&#x63D0;&#x51FA;&#xFF0C;&#x7C7B;&#x578B;&#x8FD8;&#x662F;&#x6570;&#x7EC4;&#x7C7B;&#x578B;&#xFF0C;&#x53EF;&#x8F6C;&#x6362;&#x4EE5;&#x540E;&#x8D4B;&#x7ED9;&#x4E00;&#x4E2A;&#x6307;&#x9488;&#x3002;</p>
<blockquote>
<p>&#x4F8B;&#x5982; <code>int a[2][2][2]</code>&#xFF0C;&#x90A3;&#x4E48; <code>int *p = (int*) a[0]; int *q = (int*) a[1][1];</code> &#x662F;&#x5408;&#x6CD5;&#x7684;&#x3002;
&#x4F46; <code>int x=a[1]</code> &#x548C; <code>int *r=a[0][0][0]</code> &#x662F;&#x4E0D;&#x5408;&#x6CD5;&#x7684;&#x3002;</p>
</blockquote>
<p><strong>12.9.</strong> &#x5DE6;&#x503C;&#x8868;&#x8FBE;&#x5F0F;&#x9664;&#x4E86;&#x80FD;&#x901A;&#x8FC7; 11.1 &#x4E2D;&#x4E09;&#x6761;&#x89C4;&#x5219;&#x5F97;&#x5230;&#xFF0C;&#x65B0;&#x589E;&#x4E00;&#x6761;&#x89C4;&#x5219;&#xFF1A;</p>
<ul>
<li>&#x901A;&#x8FC7;&#x4E0B;&#x6807;&#x8FD0;&#x7B97;&#xFF0C;&#x5982;&#x679C;&#x7ED3;&#x679C;&#x7C7B;&#x578B;&#x4E0D;&#x662F;&#x6570;&#x7EC4;&#x7C7B;&#x578B;&#xFF0C;&#x90A3;&#x4E48;&#x7ED3;&#x679C;&#x8868;&#x8FBE;&#x5F0F;&#x662F;&#x5DE6;&#x503C;&#x3002;<blockquote>
<p>&#x4F8B;&#x5982; <code>int a[2][2]</code>&#xFF0C;&#x90A3;&#x4E48; <code>a[1]</code> &#x4E0D;&#x662F;&#x5DE6;&#x503C;&#xFF0C;&#x4F46; <code>a[1][1]</code> &#x662F;&#x5DE6;&#x503C;&#xFF0C;<code>a[1][1]=2</code> &#x548C; <code>&amp;a[1][1]</code> &#x90FD;&#x662F;&#x5408;&#x6CD5;&#x64CD;&#x4F5C;&#x3002;</p>
</blockquote>
</li>
</ul>
<p><strong>12.10.</strong> &#x6570;&#x7EC4;&#x7C7B;&#x578B;&#x7684;&#x8868;&#x8FBE;&#x5F0F;&#x4EC5;&#x80FD;&#x53C2;&#x4E0E;&#x5982;&#x4E0B;&#x8FD0;&#x7B97;&#xFF1A;&#x7C7B;&#x578B;&#x8F6C;&#x6362;&#x3001;&#x4E0B;&#x6807;&#x3002;</p>
<p><strong>12.11.</strong> &#x51FD;&#x6570;&#x5F62;&#x53C2;&#x4E0D;&#x80FD;&#x88AB;&#x58F0;&#x660E;&#x4E3A;&#x6570;&#x7EC4;&#xFF0C;&#x4F20;&#x53C2;&#x53EA;&#x80FD;&#x4F20;&#x6307;&#x9488;&#x3002;</p>
<blockquote>
<p>C &#x5141;&#x8BB8; <code>int foo(int a[]);</code> &#x548C; <code>int bar(int b[5]);</code> &#x4F46;&#x6211;&#x4EEC;&#x4E0D;&#x5141;&#x8BB8;&#x3002;</p>
</blockquote>
<p><strong>12.12.</strong> &#xFF08;&#x66F4;&#x65B0; 11.5&#xFF09;&#x6307;&#x9488;&#x53EF;&#x53C2;&#x52A0;&#x52A0;&#x51CF;&#x8FD0;&#x7B97;&#xFF0C;&#x5141;&#x8BB8; int &#x52A0;&#x6307;&#x9488;&#x548C;&#x6307;&#x9488;&#x52A0; int&#xFF0C;&#x4EE5;&#x53CA;&#x6307;&#x9488;&#x51CF; int&#xFF08;&#x4E0D;&#x5141;&#x8BB8; int &#x51CF;&#x6307;&#x9488;&#xFF09;&#x3002;
    &#x8FD0;&#x7B97;&#x7ED3;&#x679C;&#x7684;&#x7C7B;&#x578B;&#x548C;&#x6307;&#x9488;&#x64CD;&#x4F5C;&#x6570;&#x7684;&#x7C7B;&#x578B;&#x76F8;&#x540C;&#x3002;
    &#x5B9E;&#x9645;&#x8FD0;&#x7B97;&#x65F6;&#xFF0C;int &#x64CD;&#x4F5C;&#x6570;&#x9700;&#x8981;&#x4E58;&#x4E0A;&#x6307;&#x9488;&#x57FA;&#x7C7B;&#x578B;&#x7684;&#x5927;&#x5C0F;&#x3002;</p>
<blockquote>
<p>&#x4F8B;&#x5982; <code>int **p</code>&#xFF08;&#x8003;&#x8651;&#x5230; <code>sizeof(int*) == 4</code>&#xFF09;&#xFF0C;&#x90A3;&#x4E48; <code>p-2</code> &#x7B49;&#x4EF7;&#x4E8E; <code>p+-2</code>&#xFF0C;&#x5176;&#x6C47;&#x7F16;&#x7C7B;&#x4F3C; <code>addi result, p, -8</code>&#x3002;</p>
</blockquote>
<p><strong>12.13.&#xFF08;&#x66F4;&#x65B0;</strong> 11.5&#xFF09;&#x5141;&#x8BB8;&#x4E24;&#x4E2A;&#x6307;&#x9488;&#x76F8;&#x51CF;&#xFF0C;&#x4F46;&#x4E24;&#x4E2A;&#x6307;&#x9488;&#x7C7B;&#x578B;&#x5FC5;&#x987B;&#x76F8;&#x540C;&#x3002;
    <code>a</code> &#x548C; <code>b</code> &#x662F;&#x540C;&#x7C7B;&#x578B;&#x7684;&#x6307;&#x9488;&#xFF0C;&#x90A3;&#x4E48; <code>a-b</code> &#x7684;&#x7ED3;&#x679C; <code>c</code> &#x662F;&#x4E00;&#x4E2A; int&#xFF0C;&#x4E14;&#x6EE1;&#x8DB3; <code>a == b+c</code>&#x3002;</p>
<p><strong>12.14.</strong> &#x7A7A;&#x6307;&#x9488;&#x53C2;&#x4E0E;&#x4EFB;&#x4F55;&#x6307;&#x9488;&#x7B97;&#x672F;&#x90FD;&#x662F;&#x672A;&#x5B9A;&#x4E49;&#x884C;&#x4E3A;&#x3002;</p>
<p><strong>12.15.</strong> &#x6307;&#x9488;&#x8FD0;&#x7B97;&#x8D8A;&#x754C;&#xFF0C;&#x6309;&#x7167; 11.8 &#x662F;&#x672A;&#x5B9A;&#x4E49;&#x884C;&#x4E3A;&#x3002;&#x4F46;&#x6709;&#x7279;&#x4F8B;&#xFF1A;&#x5141;&#x8BB8;&#x8D8A;&#x754C;&#x4E00;&#x4E2A;&#x5143;&#x7D20;&#x3002;</p>
<blockquote>
<p>&#x4F8B;&#x5982;&#x5982;&#x4E0B;&#x4EE3;&#x7801;&#x662F;&#x5408;&#x6CD5;&#x7684;</p>
<pre><code>int a[10]; int *p=(int*) a;
for (int *q=p; q != p+10; q=1+q) *q=0;
</code></pre><p>&#x54EA;&#x6015;&#x5176;&#x4E2D; <code>p+10</code> &#x5DF2;&#x7ECF;&#x8D8A;&#x754C;&#x4E86;&#x3002;</p>
</blockquote>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="summary.html" class="navigation navigation-prev " aria-label="Previous page: 小结">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../../REFERENCE.html" class="navigation navigation-next " aria-label="Next page: 参考资料">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"规范","level":"8.2.5","depth":2,"next":{"title":"参考资料","level":"9.1","depth":1,"path":"REFERENCE.md","ref":"REFERENCE.md","articles":[]},"previous":{"title":"小结","level":"8.2.4","depth":2,"path":"docs/lab12/summary.md","ref":"docs/lab12/summary.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","mermaid-gb3","codeblock-label","code","search-pro","click-reveal","expandable-chapters-interactive","localized-footer"],"pluginsConfig":{"chapter-fold":{},"emphasize":{},"codeblock-label":{},"search-pro":{},"search":{},"localized-footer":{"filename":"gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":true},"hide-element":{},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":1},"click-reveal":{},"highlight":{},"mermaid-gb3":{},"expandable-chapters-interactive":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"docs/lab12/spec.md","mtime":"2020-09-02T07:27:37.415Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-09-08T05:38:47.833Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-alerts/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-click-reveal/click_reveal.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-expandable-chapters-interactive/expandable-chapters.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    <script src="../../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>

    </body>
</html>

